package com.schoolcloud.social.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName soc_events
 */
@TableName(value ="soc_events")
@Data
public class SocEvents implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer eventId;

    /**
     * 组织者id
     */
    private Integer organizerId;
    /**
     *组织者名
     */
    private String organizer;
    /**
     *活动分类
     */
    private Integer categoryId;

    /**
     * 标题
     */
    private String title;
    /**
     *封面
     */
    private String cover;

    /**
     * 是否需要审核（0不需要，1需要）
     */
    private Integer requiresApproval;

    /**
     * 内容
     */
    private String content;
    /**
     *描述
     */
    private String description;

    /**
     * 活动地点
     */
    private String location;
    /**
     *状态
     */
    private Integer status;

    /**
     *
     */
    private LocalDateTime startTime;

    /**
     *
     */
    private LocalDateTime endTime;

    /**
     *
     */
    private LocalDateTime createTime;

    /**
     *
     */
    private LocalDateTime updateTime;
    /**
     *访问量
     */
    private Long viewCount;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
